Multiple scripting Languages in One Page
From Documentation
This documentation is for an older version of ZK. For the latest one, please click here.
Each scripting language is associated with one interpreter. Thus, variables and methods defined in one language are not visible to another language. For example, var1
and var2
belong to two different interpreters in the following example.
<zscript language="Java">
var1 = 123;
</zscript>
<zscript language="JavaScript">
var2 = 234;
</zscript>